{{ define "user/user_center_site.html" }}

{{ template "base/base_header.html" . }}
<head>
	<title>天天生鲜-用户中心</title>
	{{template "base/base_import.html" . }}
</head>
<body>
	{{ template "base/base_top.html" . }}

	{{ template "base/base_search.html" .}}

	<div class="main_con clearfix">
		<div class="left_menu_con clearfix">
			<h3>用户中心</h3>
			<ul>
				<li><a href="/ttsx/user/user_center_info">· 个人信息</a></li>
				<li><a href="/ttsx/user/user_center_order/1">· 全部订单</a></li>
				<li><a href="/ttsx/user/user_center_site" class="active">· 收货地址</a></li>
			</ul>
		</div>
		<div class="right_content clearfix">
				<h3 class="common_title2">收货地址</h3>
				<div class="site_con">
					<dl>
						<dt>当前地址：</dt>
						<dd>{{ .address }} </dd>
					</dl>					
				</div>
				<h3 class="common_title2">编辑地址</h3>
				<div class="site_con">
					<form action="/ttsx/user/user_center_site" method="post">
						<div class="form_group">
							<label>收件人：</label>
							<input type="text" name="receiver">
						</div>
						<div class="form_group form_group2">
							<label>详细地址：</label>
							<textarea class="site_area" name="addr"></textarea>
						</div>
						<div class="form_group">
							<label>邮编：</label>
							<input type="text" name="zipcode">
						</div>
						<div class="form_group">
							<label>手机：</label>
							<input type="text" name="mobile">
						</div>
						<input type="submit" name="" value="提交" class="info_submit">
					</form>
				</div>
		</div>
	</div>
	{{ .errMsg }}

	{{ template "base/base_bottom.html" . }}
	
</body>
</html>

{{ end }}